package cn.com.bluemoon.daps.system.service;

import cn.com.bluemoon.daps.common.domain.ResultBean;
import cn.com.bluemoon.daps.common.mp.IBmService;
import cn.com.bluemoon.daps.system.entity.DapSystemDatasource;
import cn.com.bluemoon.daps.system.entity.DapSystemDatasourceEnvironment;
import org.springframework.web.multipart.MultipartFile;

public interface DapSystemDatasourceEnvironmentService extends IBmService<DapSystemDatasourceEnvironment> {

    /**
     * 新增或修改数据源环境信息
     * @param environment
     * @return
     */
    ResultBean<String> updateOrInsertEnvironment(DapSystemDatasourceEnvironment environment,
                                                 DapSystemDatasource dapSystemDatasource);
}
